<div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">用户信息</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-6">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                             <ul class="nav nav-tabs" id="myTab">
                              <li class="active"><a href="#home">基本信息</a></li>
                              <li><a href="#profile">修改密码</a></li>
                              
                            </ul> 
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6">
                                    <div class="tab-content">
                                          <div class="tab-pane" id="profile">
                                              <form role="form" method="post" action="{:U('User/Index/passwordEdit')}">
                                                   <fieldset disabled>
                                                        <div class="form-group">
                                                            <label for="disabledInput">账号（邮箱）</label>
                                                            <input class="form-control"  id="disabledInput" type="text" name="email" value="{$user['email']}" />
                                                        </div>
                                                    </fieldset>

                                                    <div class="form-group">
                                                        <label>原始密码</label>
                                                        <input class="form-control" type="password" name="pwd" value="" placeholder="请输入原密码" >

                                                    </div>
                                                    
                                                    <div class="form-group">
                                                        <label>新密码</label>
                                                        <input class="form-control" type="password" name="new_pwd1" value="" placeholder="请输入新密码" data-validate="validatePassWord">
                                                       
                                                       <div class="tipinfo">
                                                            <div class="error icon iconfont icon-iconfontmoban"></div>
                                                            <div class="valid icon iconfont icon-gou"></div>
                                                        </div>

                                                    </div>
                                                 
                                                    <div class="form-group">
                                                        <label>再次输入新密码</label>
                                                        <input class="form-control" type="password" name="new_pwd2" value="" placeholder="再次输入新密码">
                                                    </div>

                                                    <button type="submit" class="btn btn-default">提交</button>
                                                </form>
                                          </div>
                                         
                                          
                                        </div> 
                                   

                                </div>
                                <!-- /.col-lg-6 (nested) -->
                               
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
        </div>
        <!-- /#page-wrapper -->
    <script>
      $(function () {
        $('#myTab a:last').tab('show');//初始化显示哪个tab
      
        $('#myTab a').click(function (e) {
          e.preventDefault();//阻止a链接的跳转行为
          $(this).tab('show');//显示当前选中的链接及关联的content
        })
      })
    </script> 

    <script src="/Public/js/user/passWord.js" type="text/javascript"></script>